package org.suk.dp.builder;

import java.util.LinkedList;
import java.util.List;

/**
 * Description: 产品类<br/>
 * @version V1.0  2017/6/20 20:27  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Product {
    private List<String> parts = new LinkedList<String>();

    public void add(String part){
        this.parts.add(part);
    }

    public void show(){
        System.out.println("产品创建---");
        for(String part : parts){
            System.out.println(part);
        }
    }
}
